package nc.ui.zzjs.bd.chnlmanager;

import nc.itf.zzjs.bd.constant.IChnlManagerConstant;
import nc.ui.trade.businessaction.IBusinessActionType;
import nc.ui.trade.button.IBillButton;
import nc.ui.trade.treecard.ITreeCardController;
import nc.vo.zzjs.bd.chnlmanager.ChnlBillVO;
import nc.vo.zzjs.bd.chnlmanager.ChnlComVO;
import nc.vo.zzjs.bd.chnlmanager.ChnlManagerVO;
import nc.vo.zzjs.bd.chnlmanager.ChnlMonVO;
import nc.vo.zzjs.bd.chnlmanager.ChnlQuaVO;
import nc.vo.zzjs.bd.chnlmanager.ChnlYearVO;


/**
 * @author zpm
 *
 */
public class ClientController implements ITreeCardController {

	public ClientController() {
		
	}
	
	public boolean isAutoManageTree() {
		return true;
	}
	
	private String m_sBillType = IChnlManagerConstant.BILLTYPE;
	

	private String[] m_billVoNames =
		new String[] { 
			ChnlBillVO.class.getName(),
			ChnlManagerVO.class.getName(), 
			ChnlMonVO.class.getName(),
			ChnlQuaVO.class.getName(),
			ChnlYearVO.class.getName(),
			ChnlComVO.class.getName()
		};

	public boolean isChildTree() {
		
		return false;
	}

	public boolean isTableTree() {
		
		return false;
	}

	public String[] getCardBodyHideCol() {
		
		return null;
	}

	public int[] getCardButtonAry() {
		return new int[] {
				IBillButton.Add,
				IBillButton.Save,
				IBillButton.Cancel,
				IBillButton.Line,
				IBillButton.Edit,
				IBillButton.Delete,
				IBillButton.Refresh };
	}

	public boolean isShowCardRowNo() {
		
		return false;
	}

	public boolean isShowCardTotal() {
		
		return false;
	}

	public String getBillType() {
		
		return m_sBillType;
	}

	public String[] getBillVoName() {
		
		return m_billVoNames;
	}

	public String getBodyCondition() {
		return null;
	}

	public String getBodyZYXKey() {
		
		return null;
	}

	public int getBusinessActionType() {
		return IBusinessActionType.BD;
	}

	public String getChildPkField() {
		return null;
	}

	public String getHeadZYXKey() {
		return null;
	}

	public String getPkField() {
		return IChnlManagerConstant.TABLEKEY;
	}

	public Boolean isEditInGoing() throws Exception {
		return null;
	}

	public boolean isExistBillStatus() {
		return false;
	}

	public boolean isLoadCardFormula() {
		return true;
	}
}
